how to set precision in python